<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    <div id="app">
        <div v-text="message"></div>
        {{haha}}
        <input type="text" v-model="message">
    </div>

    <script src="./js/observer.js"></script>
    <script src="./js/TemplateCompiler.js"></script>
    <script src="./js/watcher.js"></script>
    <script src="./js/mvvm.js"></script>
    
    <script>
        let vm = new MVVM({
            el: '#app',
            data: {
                message: 'mvvm test',
                haha: '哈哈'
            }
        });
    </script>
</body>
</html>